package com.goods.business.service;

import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ProductSupplierService {
    /**
     *
     * @param pageNum
     * @param pageSize
     * @param supplier
     * @return
     */
    List<Supplier> findSupplierList(Integer pageNum, Integer pageSize, Supplier supplier);

    /**
     *
     * @param supplierVO
     */
    void add(Supplier supplier);

    /**
     *
     * @param id
     * @return
     */
    Supplier edit(Long id);

    /**
     *
     * @param id
     * @param supplier
     * @return
     */
    void update(Long id, Supplier supplier);
}
